package com.la.hyby;

import android.app.Activity;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;
import android.widget.EditText;
import android.widget.TextView;

public class LoginActivity extends Activity implements OnClickListener {

	private EditText login_name, login_pwd;
	private Button login_regbtn, login_loginbtn;
	private TextView login_forgetpwd, login_guangguang;

	@Override
	protected void onCreate(Bundle savedInstanceState) {
		// TODO Auto-generated method stub
		super.onCreate(savedInstanceState);
		setContentView(R.layout.activity_login);
		login_name = (EditText) findViewById(R.id.login_username);
		login_pwd = (EditText) findViewById(R.id.login_password);
		login_regbtn = (Button) findViewById(R.id.login_registerbtn);
		login_loginbtn = (Button) findViewById(R.id.login_loginbtn);
		login_forgetpwd = (TextView) findViewById(R.id.login_forgetpaswd);
		login_guangguang = (TextView) findViewById(R.id.login_guangguang);

		login_regbtn.setOnClickListener(this);
		login_loginbtn.setOnClickListener(this);
		login_forgetpwd.setOnClickListener(this);
		login_guangguang.setOnClickListener(this);
	}

	@Override
	public void onClick(View v) {
		// TODO Auto-generated method stub
		switch (v.getId()) {
		case R.id.login_registerbtn:

			break;
		case R.id.login_loginbtn:

			break;
		case R.id.login_forgetpaswd:

			break;
		case R.id.login_guangguang:

			break;
		}
	}
}
